<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en">
<head>
  <title>Compiling ReactOS - ReactOS Website</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta name="Content-language" content="en" />
  <meta name="Publisher" content="ReactOS Web Team" />
  <meta name="Copyright" content="ReactOS Foundation" />
  <meta name="Generator" content="RosCMS" />
  <meta name="Keywords" content="ReactOS, ros, operating system, OS, OSS, compatible, react os, clone, free, open source, alternative, open source os, GNU GPL, GPL, LGPL, forum, download, information, wiki, support database, support, faq, compatibility database, compatibility" />
  <meta name="Description" content="ReactOS&reg; is a free, modern operating system based on the design of Windows&reg; XP/2003. Written completely from scratch, it aims to follow the Windows&reg; architecture designed by Microsoft&reg; from the hardware level right through to the application level." />
  <meta name="Page-topic" content="operating system, computer, software, downloads, open source, alternative" />
  <meta name="Audience" content="all" />
  <meta name="Page-type" content="Operating System/Information/News/Open Source" />
  <meta name="Robots" content="index,follow" />
  <link rel="SHORTCUT ICON" href="../allnew/favicon.ico" />
  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="newsfeed_rss.xml" />
  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="newsfeed_atom.xml" />
  <link href="../css/style.css" type="text/css" rel="stylesheet" />
  <!--[if IE]><link href="../css/ie.css" type="text/css" rel="stylesheet" /><![!endif] -->

  <link rel="stylesheet" href="../css/litebox.css" type="text/css" media="screen" />
  <script type="text/javascript" src="../js/litebox.js"></script>

  
</head>
<body onload="initLightbox()">
<div id="main">
<div id="header">
  <div id="headercontent">
    <a href="index.html" id="back" class="clearfix">
      <img id="logo" src="../img/logo.png" alt="ReactOS logo" />
      <img id="reactos" src="../img/ReactOS.png" alt="ReactOS" />
    </a>
    <div id="headerContext">
      <div id="lang">
        <span>English</span>
<ul>
<li><a href="../?page=dev_compile&amp;lang=bg">Bulgarian</a></li><li><a href="../?page=dev_compile&amp;lang=ca">Català</a></li><li><a href="../?page=dev_compile&amp;lang=cz">Czech</a></li><li><a href="../?page=dev_compile&amp;lang=da">Danish</a></li><li><a href="../?page=dev_compile&amp;lang=de">Deutsch</a></li><li><a href="../?page=dev_compile&amp;lang=el">Ελληνικά</a></li><li><a href="../?page=dev_compile&amp;lang=en">English</a></li><li><a href="../?page=dev_compile&amp;lang=es">Español</a></li><li><a href="../?page=dev_compile&amp;lang=fr">Français</a></li><li><a href="../?page=dev_compile&amp;lang=he">Hebrew</a></li><li><a href="../?page=dev_compile&amp;lang=hu">Hungarian</a></li><li><a href="../?page=dev_compile&amp;lang=id">Indonesian</a></li><li><a href="../?page=dev_compile&amp;lang=it">Italiano</a></li><li><a href="../?page=dev_compile&amp;lang=ja">日本語</a></li><li><a href="../?page=dev_compile&amp;lang=ko">Korean</a></li><li><a href="../?page=dev_compile&amp;lang=lt">Lithuanian</a></li><li><a href="../?page=dev_compile&amp;lang=nl">Dutch</a></li><li><a href="../?page=dev_compile&amp;lang=no">Norsk</a></li><li><a href="../?page=dev_compile&amp;lang=pl">Polski</a></li><li><a href="../?page=dev_compile&amp;lang=pt">Português</a></li><li><a href="../?page=dev_compile&amp;lang=ro">Romanian</a></li><li><a href="../?page=dev_compile&amp;lang=ru">Русский</a></li><li><a href="../?page=dev_compile&amp;lang=sk">Slovak</a></li><li><a href="../?page=dev_compile&amp;lang=sv">Swedish</a></li><li><a href="../?page=dev_compile&amp;lang=tw">Chinese (traditional)</a></li><li><a href="../?page=dev_compile&amp;lang=uk">Ukrainian</a></li><li><a href="../?page=dev_compile&amp;lang=vi">Vietnamese</a></li><li><a href="../?page=dev_compile&amp;lang=zh">中文</a></li></ul>
      </div>
      <div id="advertise">
        <a href="newbies.html">New to ReactOS?</a>
        <a href="[#dev_start]">Get involved!</a>
      </div>
    </div>
  </div>
</div>
<div id="Navigation">
  <div id="NavigationContent">
  <ul>
    <li>
      <a href="about.html">Info</a>
      <ul>
        <li><a href="news.html">News</a></li>
        <li><a href="about.html">About&nbsp;ReactOS</a></li>
        <li><a href="about_whyreactos.html">Why&nbsp;ReactOS</a></li>
        <li><a href="download.html">Download</a></li>
        <li><a href="about_userfaq.html">FAQ</a></li>
        <li><a href="sitemap.html">Sitemap</a></li>
      </ul>
    </li>
    <li>
      <a href="community.html">Community</a>
      <ul>
        <li><a href="news.html">Forum</a></li>
        <li><a href="[#cont_url_forum]">Wiki</a></li>
        <li><a href="community_mailinglists.html">Mailing&nbsp;List</a></li>
        <li><a href="community_irc.html">Chat</a></li>
        <li><a href="[#cont_url_peoplemap]">Peoplemap</a></li>
      </ul>
    </li>
    <li>
      <a href="dev.html">Development</a>
      <ul>
        <li><a href="dev_start.html">How&nbsp;to&nbsp;take&nbsp;part</a></li>
        <li><a href="[#cont_url_wiki]Testing_Introduction">Testing</a></li>
        <li><a href="[#cont_url_wiki]Building_ReactOS">Compile&nbsp;ReactOS</a></li>
        <li><a href="[#cont_url_wiki]Debugging">Debugging</a></li>
        <li><a href="[#cont_url_doxygen]">Doxygen</a></li>
        <li><a href="dev_faq.html">Developer&nbsp;FAQ</a></li>
        <li><a href="dev_svn.html">Sourcecode&nbsp;access</a></li>
      </ul>
    </li>
    <li id="contactus"><a href="contact.html">Contact Us</a></li>

    <li id="search">
      <form method="get" action="http://www.google.com/search">
        <fieldset>
        <label for="q" accesskey="s"></label>
        <input type="text" id="q" name="q" tabindex="0" size="13" maxlength="80" title="search" />
        <input type="hidden" name="sitesearch" value="http://www.reactos.org" />
        </fieldset>
      </form>
    </li>
  </ul>
  </div>
</div>
<table style="border:0" width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
  <td style="width:147px" id="leftNav"> 
  <div class="navTitle">Navigation</div>
    <ol>
      <li><a href="index.html">Home</a></li>
      <li><a href="about.html">Info</a></li>
      <li><a href="community.html">Community</a></li>
      <li><a href="dev.html">Development</a></li>
      <li><a href="../roscms/?page=user">myReactOS</a></li>
    </ol>
  <p></p>


<div class="navTitle">Development</div>
  <ol>
    <li><a href="dev.html">Overview</a></li>
    <li><a href="dev_start.html">How to take part</a></li>
    <li><a href="dev_whitepaper.html">Whitepaper</a></li>
    <li><a href="dev_compile.html">Compiling ReactOS</a></li>
    <li><a href="dev_faq.html">Developer FAQ</a></li>
    <li><a href="dev_legalreview.html">Intellectual Property</a></li>
    <li><a href="dev_svn.html">SVN Server</a></li>
    <li><a href="../bugzilla/">Bugzilla</a></li>
    <li><a href="/generated/doxygen">Doxygen</a></li>
    <li><a href="../roscms/?page=home">RosCMS</a></li>
    <li><a href="../roscms/?page=webstatus">Website Status</a></li>
    <li><a href="dev_homepage.html">Translate Website</a></li>
    <li><a href="http://cia.vc/stats/project/ReactOS" target="_blank">ReactOS CIA</a></li>
  </ol>
<p></p>

      <div id="ajaxsearchbar2" class="navTitle" style="display: none">Search</div>
      <ol>
        <li> 
			<div id="ajaxsearchbar" align="center"  style="display: none">
				<div align="center">
				<form method="get" action="http://www.google.com/search" style="padding:0;margin:0">
					<label for="q" accesskey="s"></label><input name="q" type="text" id="q" class="searchInput" tabindex="0" onkeyup="loadItemList(this.value,'rosweb','roscms_en','ajaxloadbar','sresultbar')" size="13" maxlength="80" style="font-family: Verdana; font-size: x-small; font-style: normal;" /><input name="domains" value="http://www.reactos.org" type="hidden" /><input name="sitesearch" value="http://www.reactos.org" type="hidden" />
					<input name="btnG" value="Go" type="submit" class="button" />
				</form>
				</div>
				<div id="sresultbar" style="display: none" align="left"></div>
				
			<img id="ajaxloadbar" src="../support/images/ajax_loading.gif" style="display: none"></div>
		</li>
      </ol>
	  <p></p>
 <div id="googlesearchbar" class="navTitle">Search</div>   
 <div id="googlesearchbar2" class="navBox"><form method="get" action="http://www.google.com/search" style="padding:0;margin:0">
  <div style="text-align:center;">
   <input name="q" value=""  size="12" maxlength="80" class="searchInput" type="text" tabindex="0"  /><input name="domains" value="http://www.reactos.org" type="hidden" /><input name="sitesearch" value="http://www.reactos.org" type="hidden" />
   <input name="btnG" value="Go" type="submit" class="button" />

  </div></form>
 </div>
<p></p>
<script type="text/javascript" language="javascript">
<!--
	document.getElementById('ajaxsearchbar').style.display = "block";
	document.getElementById('ajaxsearchbar2').style.display = "block";
	document.getElementById('googlesearchbar').style.display = "none";
	document.getElementById('googlesearchbar2').style.display = "none";
-->
</script>
<div class="navTitle">Language</div>  
	<div class="navBox"> 
		<span>English</span>
<ul>
<li><a href="../?page=dev_compile&amp;lang=bg">Bulgarian</a></li><li><a href="../?page=dev_compile&amp;lang=ca">Català</a></li><li><a href="../?page=dev_compile&amp;lang=cz">Czech</a></li><li><a href="../?page=dev_compile&amp;lang=da">Danish</a></li><li><a href="../?page=dev_compile&amp;lang=de">Deutsch</a></li><li><a href="../?page=dev_compile&amp;lang=el">Ελληνικά</a></li><li><a href="../?page=dev_compile&amp;lang=en">English</a></li><li><a href="../?page=dev_compile&amp;lang=es">Español</a></li><li><a href="../?page=dev_compile&amp;lang=fr">Français</a></li><li><a href="../?page=dev_compile&amp;lang=he">Hebrew</a></li><li><a href="../?page=dev_compile&amp;lang=hu">Hungarian</a></li><li><a href="../?page=dev_compile&amp;lang=id">Indonesian</a></li><li><a href="../?page=dev_compile&amp;lang=it">Italiano</a></li><li><a href="../?page=dev_compile&amp;lang=ja">日本語</a></li><li><a href="../?page=dev_compile&amp;lang=ko">Korean</a></li><li><a href="../?page=dev_compile&amp;lang=lt">Lithuanian</a></li><li><a href="../?page=dev_compile&amp;lang=nl">Dutch</a></li><li><a href="../?page=dev_compile&amp;lang=no">Norsk</a></li><li><a href="../?page=dev_compile&amp;lang=pl">Polski</a></li><li><a href="../?page=dev_compile&amp;lang=pt">Português</a></li><li><a href="../?page=dev_compile&amp;lang=ro">Romanian</a></li><li><a href="../?page=dev_compile&amp;lang=ru">Русский</a></li><li><a href="../?page=dev_compile&amp;lang=sk">Slovak</a></li><li><a href="../?page=dev_compile&amp;lang=sv">Swedish</a></li><li><a href="../?page=dev_compile&amp;lang=tw">Chinese (traditional)</a></li><li><a href="../?page=dev_compile&amp;lang=uk">Ukrainian</a></li><li><a href="../?page=dev_compile&amp;lang=vi">Vietnamese</a></li><li><a href="../?page=dev_compile&amp;lang=zh">中文</a></li></ul>
	</div>
<p></p>
<!-- Google AdSense - start -->
<script type="text/javascript"><!--
google_ad_client = "pub-8424466656027272";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="4696317145";
google_color_border = "5984C3";
google_color_bg = "EEEEEE";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "006090";
google_ui_features = "rc:0";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Google AdSense - end -->

      </td>

    <td id="content"><div class="contentSmall">	

<h1><a href="dev.html">ReactOS Development</a> &gt; Compiling ReactOS</h1>
<h2>Compiling ReactOS</h2>
<p>
To compile ReactOS, use the prepackaged ReactOS Build Environments located <a href="../wiki/index.php/Build_Environment">here</a>. The version disparity between the NT and *nix packages was a result of the NT version including additional utilities and scripts to make downloading a copy of the source code easier for Windows users. 
</p>
<h2>NT Build Environment </h2>
<p>
The Windows NT package is currently maintained by Daniel Reimer. It version requires a Windows 2000 system or higher. It will not work on 9x/ME. Along with the necessary build tools, versions 0.3.7+ includes a few utilities and extra features to make downloading the source code easier.
</p>
<h2>*nix Build Environment </h2>
<p>
The *nix package is maintained by Colin Finck. It requires a host GCC of version 3.4 at least, with C and C++ support. This package has been tested on FreeBSD and various Linux distributions. Support for Mac OS X will likely come in a future release. The host compiler will make all the various tools needed to compile ReactOS, including a patched version of GCC.  The *nix BE does not have any of the extra utilities or scripts the NT BE has so the user must set up a local repository themselves.
</p>
<h2>Commands</h2>
<p>
These are the general commands you will need to know to build ReactOS.
</p>
<p>
make: Compiles everything. After any change to the source code, call make to update compiled objects. 
</p>
<p>
make bootcd: Creates an install CD. If ReactOS has not been compiled yet, make bootcd will do the compilation. However, if there has been changes to the source code since the last make, make bootcd will not register them and build a new CD based off the last manual build.
</p>
<p>
make livecd: Creates a LiveCD. make livecd is identical to make bootcd in how it treats the source code.
</p>
<p>
make clean: Deletes all compiled objects and then does a clean build of the source code.
</p>
<p>
clean: A more thorough removal of compiled objects than make clean. In preparation for a truely clean build.&nbsp;
</p>



</div>
</body>
</html><!-- Generated with RosCMS 4 (4.0.0 beta) - 2009-11-06 12:36:27 -->